FB#.MONITOR#.SOURCE

Description

FB#.MONITOR#.SOURCE sets a source to monitor. The source can be one of: Hall State, Amplitude, Sine or Cosine. These sources are the same as in commands FB#.HALLSTATE, FB#.SIGNALAMPLITUDE, FB#.SIGNALSIN and FB#.SIGNALCOS.

These commands are only used for FB1 (on the X1 connector) and FB2 (on the X2 connector) when a Smart Feedback Adapter (SFA) is used. The number of monitors is system dependent and two monitors are created by default.

FB#.MONITOR#.DATA is used to read the value of these signals. The read value is the same as those referenced above (in the set starting with FB#.HALLSTATE) with the difference that it can be recorded.

Example

Usage

This command is used to set any source number from the table below.

Source Name Number
None (Default) 0
Hall State 1
Amplitude 2
Sine 3
Cosine 4

In the code below, the source is set to Sine and check the help on the command.

Code

-->FB1.MONITOR1.SOURCE 3

-->DRV.HELP FB1.MONITOR1.SOURCE

Help for: FB1.MONITOR1.SOURCE [Integer] [ReadWrite] [Grouped] [NotInUse] [Enum]

Minval = 0

Maxval = 4

Default = 0

Actual value = 3 (Sine)

Values = 0 (None), 1 (Hall State), 2 (Signal Amplitude), 3 (Sine), 4 (Cosine)

Versions

Action Version Notes
Implemented 02-04-05-002

General Information

Type

Read/Write

Units

N/A

Range

0, 1, 2, 3, 4

Default Value

0

Data Type

Integer

Stored in Non-Volatile Memory

Yes

Variants Supported

All variants are supported.

Fieldbus Information

EtherCAT CoE and CANopen

Command

Index

SubIndex

Data Type

Units

Float Scale

Access

PDO Mappable

FB1.MONITOR1.SOURCE

3500h

13h

Unsigned8

-

-

Read/Write

No

FB1.MONITOR2.SOURCE

3500h

14h

Unsigned8

-

-

Read/Write

No

FB2.MONITOR1.SOURCE

3501h

13h

Unsigned8

-

-

Read/Write

No

FB2.MONITOR2.SOURCE

3501h

14h

Unsigned8

-

-

Read/Write

No

Related Topics

FB#.HALLSTATE

FB#.SIGNALAMPLITUDE

FB#.SIGNALSIN

FB#.SIGNALCOS

FB#.MONITOR#.DATA